home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7318 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  860 b 

  1. Path: cutter.ship.edu!dt1676
  2. From: dt1676@cutter.ship.edu (Dane G. Tritle)
  3. Newsgroups: comp.lang.c++
  4. Subject: Getting Active MS-Windows Tasks
  5. Date: 22 Feb 1996 18:30:59 GMT
  6. Organization: East Stroudsburg University, Pennsylvania
  7. Message-ID: <4gicp3$ce4@jake.esu.edu>
  8. NNTP-Posting-Host: cutter.ship.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I'm writing a task manager / launcher for MS Windows  3.1 just for fun.
  12.  
  13. I make a call to the Win API function "EnumWindows()" and have my callback 
  14. function produce a list.  I have tried to filter out system apps by checking 
  15. the WS_VISIBLE bits using the Win API "BOOL  IsWindowVisible(hwnd)" 
  16. function, but I still get a list of (apparently) everything that is 
  17. running.  I want to display only those apps that are obviously running 
  18. and available to the user.
  19.  
  20. I'd appreciate any suggestions.
  21.  
  22.         Thanks
  23.         Dane Tritle
  24.